package com.twu.biblioteca;

/**
 * Created by siba on 23/09/14.
 */
public class Constants {

    public static final int QUIT = 99;
    public static final String QUIT_STRING = "99";
    public static final int NOT_VALID = -1;
    public static final int LIST_BOOKS = 1;
    public static final int LIST_MOVIES = 2;
    public static final int CHECKOUT_A_BOOK = 3;
    public static final int RETURN_A_BOOK = 4;
    public static final int CHECKOUT_A_MOVIE = 5;
    public static final int DISPLAY_OR_LOGIN = 6;

    // String Messages
    public static final String[] OPTIONS = new String[]{"List books", "List movies", "Checkout a book", "Return a book", "Checkout movie"};
    public static final String WELCOME_MESSAGE = "Welcome to Biblioteca! :)\n\nThis electronic system is here to make your life easier and your experience more enjoyable\n";
    public static final String CHOOSE_OPTION_MESSAGE = "Please choose an option from the list below.";
    public static final String QUIT_OPTION_MESSAGE = "** To quit, type 'Quit'\n";
    public static final String QUIT_MESSAGE = "\n\nThank you for using Biblioteca's electronic system.\nCome again! Reading is Awesome :)";
    public static final String NOT_VALID_MESSAGE = "Sorry but your input is not valid\n";
    public static final String TRY_AGAIN_MESSAGE = "Please try again\n";

    public static final String[] BOOK_ATTRIBUTES = new String[]{"Title", "Author", "YearPublished", "isCheckedOut"};
    public static final String[] MOVIE_ATTRIBUTES = new String[]{"Name", "Director", "Year", "Rating", "isCheckedOut"};
    public static final String[] MESSAGES_TO_ASK_FOR_BOOK_ATTRIBUTES = new String[]{"Please enter the book title", "Please enter the book author", "Please enter the year the book was published"};
    public static final String BOOK_CURRENTLY_UNAVAILABLE = "Sorry, but this book is currently unavailable for checkout\n";
    public static final String CHECKOUT_SUCCESSFUL = "You have successfully checkout your book.\n";
    public static final String CHECKOUT_UNSUCCESSFUL = "Sorry, but we could not find the book in our library.\n";
    public static final String BOOK_RETURNED_SUCCESSFULLY = "Your book has been returned successfully.\nThank you\n";
    public static final String BOOK_ALREADY_RETURNED = "Our system indicates the book is already returned.\nPlease see the librarian.\n";
    public static final String RETURN_UNSUCCESSFUL = "This book does not belong to our database.\nPlease see the librarian for further assistance.\n";
    public static final String MOVIE_CURRENTLY_UNAVAILABLE = "Sorry, but this movie is currently unavailable for checkout\n";
    public static final String MOVIE_CHECKOUT_SUCCESSFUL = "You have successfully checkout your movie.\n";
    public static final String MOVIE_CHECKOUT_UNSUCCESSFUL = "Sorry, but we could not find the movie in our library.\n";


    public static final String[] MESSAGES_TO_ASK_FOR_MOVIE_ATTRIBUTES = new String[]{"Please enter the movie name", "Please enter the movie director's name", "Please enter the year the movie was released", "Please enter the movie rating"};
    public static final String [] MESSAGES_TO_ASK_FOR_USER_LOGIN_DETAILS = new String [] {"Please enter your username:", "Please enter your password:"};
    public static final String LOGIN_SUCCESSFUL = "You have successfully logged into your account\n";
    public static final String LOGIN_UNSUCCESSFUL = "It was not a successful login.\nYou will continue as a guest user.\n";
    public static final String OPTION_DISPLAY_USR_INFO = "Display my information";
    public static final String OPTION_LOGIN = "Login to my account";

    public static final int SUCCESS = 1;
    public static final int FAIL = 0;
}
